<script ng-init="initCssAndJs()">
</script>
<script ng-init="initCss('mypraise-page/css/mypraise.css')"></script>
<div class="page" id="page-pre" ng-init="mypraiseInit()">
	<header class="bar bar-nav">
		<a class="icon icon-left pull-left button-nav" href="javascript:history.back(-1)"></a>
		<h1 class="title">我的点赞</h1>
	</header>
	<div class="content">
		<!--<div class="bg_div">-->
			<!--<a class="icon icon-left pull-left button-nav" href="javascript:history.back(-1)"></a>-->

			<!--<div class="middle" style="text-align: center">我的赞</div>-->
		<!--</div>-->
		<div class="content_release_all">
			<ul>
				<li ng-repeat="mypraise in mypraiseList">
					<div class="content_border_setting">
						<div class="user_top">
							<div class="content_user_img">
								<a href="#/other_home" ng-click="GoToOtherUser(mypraise.tourDynamics.user.userId)">
									<img ng-if="!mypraise.tourDynamics.user.userAvatarAddress" ng-src="page/home-page/img/avatar.png" />
									<img ng-if="mypraise.tourDynamics.user.userAvatarAddress" ng-src="{{mypraise.tourDynamics.user.userAvatarAddress}}" />
								</a>
							</div>
							<div class="nickname_distance">
								<div class="user_nickname">{{mypraise.tourDynamics.user.userNickName}}</div>
								<div class="distance">想去 <i class="fa fa-map-marker"></i>&nbsp;{{mypraise.tourDynamics.placeTo}}
								</div>
							</div>
							<div class="time_type">
								<div class="time">{{mypraise.tourDynamics.tourdynaDate|date:"yyyy-MM-dd HH:mm:ss"}}
								</div>
							</div>
							<i class="fa fa-angle-down" ng-click="allShow1(mypraise.tourDynamics.tourdynaId)"></i>
						</div>
						<div style="clear: both"></div>
						<div class="release_content">
							<ul>
								<li>{{mypraise.tourDynamics.tourdynaContent}}</li>
							</ul>
						</div>
						<div ng-if="mypraise.tourDynamics.tourdynaImg" class="img_div">
							<span ng-repeat="img in mypraise.tourDynamics.tourdynaImg track by $index">
                                <img ng-src="{{img}}" ng-click="showImg(mypraise.tourDynamics.tourdynaImg,$index)"/>
                            </span>
						</div>
						<div class="release_details">
							<div class="release_one">
								出发地点：{{mypraise.tourDynamics.placeFrom}}
							</div>
							<div class="release_two">
								拼车类型：<span ng-if="mypraise.tourDynamics.tourdynaType==0" class="type">人找车</span><span  ng-if="mypraise.tourDynamics.tourdynaType==1" class="type">车找人</span>
							</div>
						</div>

						<div class="release_details">
							<div class="release_one connect">
								联系方式：{{mypraise.tourDynamics.contactway}}
							</div>
							<div class="release_two">
								出发日期：{{mypraise.tourDynamics.tourdynaOutTime|date:"yyyy/MM/dd"}}
							</div>
						</div>
						<div class="three_tip">
							<div class="user_distance">距我{{mypraise.tourDynamics.distance}}</div>
							<div class="three">
								<ul>
									<li class="li_div_list"><i class="fa fa-thumbs-o-up">{{mypraise.tourDynamics.tourdynaLikeNum}}</i>
									</li>
									<li class="li_div_list">
										<a href="#/review">
											<i class="fa fa-comment-o" ng-click="GoToReview(mypraise.tourDynamics.tourdynaId)">{{mypraise.tourDynamics.tourdynaCommentNum}}</i>
										</a>
									</li>
									<li ng-if="mypraise.tourDynamics.isColl==1" class="li_div_list" ng-click="reduceCollection(mypraise.tourDynamics.tourdynaId)" style="color: red;"><i class="fa fa-heart-o collection" style="color: red;">收藏</i></li>
									<li ng-if="mypraise.tourDynamics.isColl!=1" class="li_div_list" ng-click="addCollection(mypraise.tourDynamics.tourdynaId)"><i class="fa fa-heart-o collection">收藏</i></li>
								</ul>
							</div>
						</div>
						<div style="clear: both;"></div>
					</div>
				</li>
			</ul>
		</div>
		<!--内容区-->

	</div>
	<div class="all">
		<div class="alert_top" ng-click="allHide1()"></div>
		<div class="alert_all">
			<div class="list_div">
				<div class="list_bor delete" ng-click="reduceLike()">
					<div class="list">
						<i class="fa fa-trash-o fa-3x"></i>
					</div>
					<span class="list_con list_con1">取消点赞</span>
				</div>
			</div>
		</div>
	</div>
</div>

<div ng-init="suiMobileInit()"></div>